<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta content="webkit" name="renderer"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="keywords" content="PoweredByjeeworkV4.0"/>
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
    <meta name="description" content="PoweredByjeeworkV4.0"/>
    <meta content="no-cache" http-equiv="Pragma"/>
    <meta http-equiv="Expires" content="0"/>
    <meta content="width=device-width, initial-scale=1, user-scalable=1" name="viewport"/>
    <title>Jeework Demo</title>
    <script th:src="@{/js/global.min.js}"></script>
    <script th:src="@{/jquery/jquery-1.12.4.min.js}"></script>
    <script th:src="@{/jquery/jquery-migrate-1.4.1.min.js}"></script>
    <!--[if lt IE 9]>
    <script th:src="@{/common/h5fix.min.js}"></script><![endif]-->
    <link rel="stylesheet" th:href="@{/fonts/font-icons.min.css}">
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/select2/4.0/select2.css}">
    <link rel="stylesheet" th:href="@{/icheck/1.0/minimal/grey.css}">
    <link rel="stylesheet" th:href="@{/wdScrollTab/css/TabPanel.css}">
    <link rel="stylesheet" th:href="@{/adminlte/css/AdminLTE.min.css}">
    <link rel="stylesheet" th:href="@{/common/jeework.css}">
    <link rel="stylesheet" th:href="@{/common/common.css}">
    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?104e825088869ff9c5855f24ab8204c2";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
</head>
<body class="hold-transition fixed noscroll2 sidebar-mini ">
<div class="wrapper"><!--[if lte IE 9]><a
        style="position:absolute;top:0;left:0;z-index:100000;display:block;width:100%;font-size:14px;color:#F00;text-decoration:none;background-color:#faffb3;text-align:center;"
        th:href="@{/upbw/sysIndex.html}" target="_blank">您的浏览器版本过低或在兼容模式下，导致打开速度过慢，提升速度您可以切换到极速模式或升级为最新版，点击此处查看详情。</a>
    <![endif]-->
    <!--[if lte IE 8]>
    <script>window.location.href = '/upbw/sysIndex.html?url=' + location.href;</script><![endif]-->
    <link rel="stylesheet" th:href="@{/jquery-toastr/2.0/toastr.min.css}">
    <link rel="stylesheet" th:href="@{/adminlte/css/skins/skin-blue-light.css}">
    <link rel="stylesheet" th:href="@{/modules/sys/sysIndex.css}">
    <header class="main-header">
        <nav class="navbar navbar-static-top">
            <div class="logo" data-toggle="push-menu">
                <b>Jeework Demo</b>
                <small>&nbsp; &nbsp;<i class="fa fa-bars"></i></small>
            </div>
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">
                    <li><a href="javascript:" id="fullScreen" title="全屏"><i class="fa fa-arrows-alt"></i></a></li>
                    <li><a href="javascript:" id="switchSkin" title="切换主题" style="margin-top:-1px;"><i
                            class="fa fa-dashboard"></i></a></li>
                    <li class="dropdown user-menu mr5">
                        <a href="javascript:" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">
                            <i class="fa icon-globe"></i>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="mt5"></li>
                            <li><a href="/js/lang/zh_CN">简体中文</a></li>
                            <li><a href="/js/lang/en">英语</a></li>
                            <li class="mt10"></li>
                        </ul>
                    </li>
                    <li>
                        <a href="javascript:" data-href="/js/a/sys/online/list" data-title="在线人员" title="在线人员"
                           class="addTabPage">
                            <i class="icon-people"></i><span id="onlineCount" class="label label-success">0</span>
                        </a>
                        <script>
                            function refreshOnlineCount() {
                                $.get('/js/a/sys/online/count?__notUpdateSession=true&__t='
                                    + new Date().getTime(), function (data) {
                                    try {
                                        $('#onlineCount').html(Number(data))
                                    } catch (e) {
                                    }
                                })
                            }

                            refreshOnlineCount(); // 先执行一次
                            setInterval(refreshOnlineCount, 180000); // 3分钟执行一次
                        </script>
                    </li>
                    <li class="dropdown messages-menu">
                        <a href="javascript:" class="dropdown-toggle" data-hover="dropdown">
                            <i class="fa fa-envelope-o"></i>
                            <span class="label label-success" id="msgNum">0</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="header">你有 <span id="msgNum2">0</span> 条消息</li>
                            <li>
                                <ul class="menu" id="msgList"
                                    data-mergeMsgLimit="5"
                                    data-mergeMsgTitle="系统消息"
                                    data-mergeMsgContent="您有 {0} 条新消息，由于消息太多，这里为您合并，请点击查看按钮看详情。"></ul>
                            </li>
                            <li class="footer"><a href="javascript:" data-href="/js/a/msg/list"
                                                  data-title="查看全部消息" class="addTabPage">查看全部消息</a></li>
                        </ul>
                        <script th:src="@{/jquery-timeago/jquery.timeago.js}"></script>
                        <script th:src="@{/jquery-timeago/i18n/jquery.timeago.zh_CN.js}"></script>
                        <script th:src="@{/modules/msg/topMenuMsg.js}"></script>
                        <script type="text/template" id="msgListTpl">
                            <li id="msg{{d.id}}"><a href="javascript:"
                                                    data-href="/js/a/msg/readMsg?id={{d.id}}"
                                                    onclick="readMsg(this, '查看消息', '{{d.id}}')">
                                <div class="pull-left"><i class="img-circle bg-aqua icon-bubble"></i></div>
                                <h4>{{d.msgContentEntity.title}}
                                    <small><i class="fa fa-clock-o"></i>
                                        <abbr class="timeago" title="{{d.sendDate}}">{{d.sendDate}}</abbr></small>
                                </h4>
                                <p>{{=d.msgContentEntity.content}}</p>
                            </a></li>
                        </script>
                        <script type="text/template" id="msgTipTpl">
                            <abbr class="timeago" title="{{d.sendDate}}">{{d.sendDate}}</abbr>
                            {{d.sendUserName}} <br/> {{=d.msgContentEntity.content}}
                            <div style="margin:8px 0 0;float:right;">
                                {{# $.each(d.msgContentEntity.buttons, function(idx, item){ }}
                                <button class="btn btn-default btn-sm" type="button"
                                        data-href="/js{{d.item.href}}"
                                        onclick="readMsg(this, '查看消息', '{{d.item.id}}');">{{d.item.name}}
                                </button>&nbsp;
                                {{# }); }}
                                <button type="button" class="btn btn-default btn-sm"
                                        data-href="/js/a/msg/readMsg?id={{d.id}}"
                                        onclick="readMsg(this, '消息详情', '{{d.id}}')">查看
                                </button>&nbsp;
                            </div>
                        </script>
                    </li>
                    <li class="dropdown user-menu mr5">
                        <a href="javascript:" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">
                            <img th:src="@{/images/system.png}" class="user-image">
                            <span class="hidden-xs">管理员</span>
                        </a>
                        <ul class="dropdown-menu">
                            <li class="mt5">
                                <a id="userInfo" href="javascript:" data-href="/js/a/sys/user/info" class="addTabPage">
                                    <i class="fa fa-user"></i> 个人中心</a>
                            </li>
                            <li>
                                <a id="modifyPassword" href="javascript:" data-href="/js/a/sys/user/info?op=pwd"
                                   class="addTabPage">
                                    <i class="fa fa-key"></i> 修改密码</a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="/js/a/logout">
                                    <i class="fa fa-sign-out"></i> 退出登录</a>
                            </li>
                            <li class="divider"></li>
                            <li class="dropdown-header mb5">系统切换：</li>
                            <li>
                                <a href="/js/a/switch/default">
                                    <i class="fa fa-check-circle-o"></i> 主导航菜单
                                </a>
                            </li>
                            <li class="mt10"></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </nav>
    </header>
    <aside class="main-sidebar">
        <section class="sidebar">
            <div class="user-panel">
                <div class="pull-left image">
                    <img data-href="/js/a/sys/user/info" data-title="个人中心" class="addTabPage img-circle"
                         th:src="@{/images/system.png}">
                </div>
                <div class="pull-left info">
                    <p>管理员</p>
                    <a href="javascript:"><i class="fa fa-circle text-success"></i> 在线</a>
                    <a href="/js/a/logout"><i class="fa fa-sign-out text-danger"></i> 注销</a>
                </div>
            </div>
            <ul class="sidebar-menu" data-widget="tree">
                <li class="treeview"><a title="系统管理" href="javascript:" data-href="blank" class="addTabPage">
                    <i class="fa fa-fw icon-settings"></i> <span>系统管理</span>
                    <span class="pull-right-container">
                    <i class="fa fa-angle-left pull-right"></i></span></a>
                    <ul class="treeview-menu">
                        <li class="treeview">
                            <a title="组织管理" href="javascript:" data-href="blank" class="addTabPage">
                                <i class="fa fa-fw icon-grid"></i> <span>组织管理</span>
                                <span class="pull-right-container">
                                <i class="fa fa-angle-left pull-right"></i></span>
                            </a>
                            <ul class="treeview-menu">
                                <li class="treeview">
                                    <a title="用户管理" href="javascript:" data-href="/a/sys/test/helloHtml" class="addTabPage">
                                        <i class="fa fa-fw icon-user"></i> <span>用户管理</span>
                                    </a>
                                </li>
                                <li class="treeview">
                                    <a title="机构管理" href="@{javascript:" data-href="/js/a/sys/office/list" class="addTabPage">
                                        <i class="fa fa-fw icon-grid"></i> <span>机构管理</span>
                                    </a>
                                </li>
                                <li class="treeview">
                                    <a title="公司管理" href="@{javascript:" data-href="/js/a/sys/company/list" class="addTabPage">
                                        <i class="fa fa-fw icon-fire"></i> <span>公司管理</span>
                                    </a>
                                </li>
                                <li class="treeview">
                                    <a title="岗位管理" href="@{javascript:" data-href="/js/a/sys/post/list" class="addTabPage">
                                        <i class="fa fa-fw icon-trophy"></i> <span>岗位管理</span>
                                    </a>
                                </li>
                            </ul>
                        </li>
                        <li class="treeview">
                            <a title="系统设置" href="javascript:" data-href="blank" class="addTabPage">
                                <i class="fa fa-fw icon-grid"></i> <span>系统设置</span>
                                <span class="pull-right-container">
                                <i class="fa fa-angle-left pull-right"></i></span>
                            </a>
                            <ul class="treeview-menu">
                                <li class="treeview">
                                    <a title="字典管理" href="javascript:" data-href="/a/sys/dict/list" class="addTabPage">
                                        <i class="fa fa-fw icon-user"></i> <span>字典管理</span>
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>
            </ul>
        </section>
    </aside>
    <div class="content-wrapper">
        <div id="tabpanel"></div>
    </div>
</div>

<a id="scroll-up" href="#" class="btn btn-sm"><i class="fa fa-angle-double-up"></i></a>
<script th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
<script th:src="@{/select2/4.0/select2.js}"></script>
<script th:src="@{/select2/4.0/i18n/zh_CN.js}"></script>
<script th:src="@{/layer/3.1/layer.js}"></script>
<script th:src="@{/my97/WdatePicker.js}"></script>
<script th:src="@{/wdScrollTab/js/TabPanel.js}"></script>
<script th:src="@{/wdScrollTab/js/TabPanel.extend.js}"></script>
<script th:src="@{/common/jeework.js}"></script>
<script th:src="@{/common/i18n/jeework_zh_CN.js}"></script>
<script th:src="@{/common/common.js}"></script>
<div class="hide" id="desktopTabPage" data-title="仪表盘" data-url="/js/a/desktop"></div>
<div class="hide" id="modifyPasswordTip" data-message=""></div>
<script th:src="@{/jquery-toastr/2.0/toastr.min.js}"></script>
<script th:src="@{/jquery-plugins/jquery.slimscroll.js}"></script>
<script th:src="@{/modules/sys/sysIndex.js}"></script>